@extends('layouts.back_stage')
@section('content')
    <div class="container">
        <div style="padding:20px 0;"><h3>系统日志</h3></div>
        <span style="display:none;" class="info_sum">{{$logs_count}}</span>
        <table class="table">
            <thead>
            <tr>
                <th>序号</th>
                <th>管理员</th>
                <th>手机号</th>
                <th>操作时间</th>
                <th>具体操作</th>
            </tr>
            </thead>
            <tbody>
            @foreach($logs as $key => $log)
                <tr>
                    <td> {{$key+1}}</td>
                    <td> {{ $log->admin_name }}</td>
                    <td> {{ $log->tel }}</td>
                    <td> {{ $log->created_at }}</td>
                    <td> {{ $log->operate }}</td>
                </tr>
            @endforeach
            </tbody>
        </table>
        <div style="float: right"><div style="float: right;margin:20px 0;"><button class="btn btn-info" onclick="returnPage()" style="float:right;">跳转</button><input type="text" class="form-control returnPage" style="width:6rem;float: right;margin:0 5px;"></div>{{ $logs->links() }}</div>
    </div>
@endsection